﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Bubble : MonoBehaviour {

	public Fish fish;

	// Use this for initialization
	void Start () {
		//GameAnimation.animateEnd += finished;
	}

	public void finished(){
		fish.fire ();
		//GameAnimation.animateEnd -= finished;
		Destroy (gameObject);
	}

	// Update is called once per frame
	void Update () {
		
	}
}
